/*
Window_BattleItem.prototype.setActor = function (actor) {
    if (this._actor !== actor) {
        this._actor = actor;
        this.refresh();
        this.resetScroll();
    }
};

const sceneBattle_commandItem = Scene_Battle.prototype.commandItem;
Scene_Battle.prototype.commandItem = function () {
    this._itemWindow.setActor(BattleManager.actor());
    sceneBattle_commandItem.call(this);
};

Window_BattleItem.prototype.includes = function (item) {
    return this._actor.canUse(item);
};

Window_BattleItem.prototype.isEnabled = function (item) {
    return this._actor.canUse(item);
};
*/